package com.sgai.dcac.data.remote;

import retrofit2.http.PUT;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by tony on 2017/6/14.
 */

public interface LoginService {
    /**
     * test
     * @PUT("/RestServer/mobile/Login/login")
     * release
     * @PUT("/PropertyManagement/userModlie/userLogin")
     *
     *
     * params.add(new BasicNameValuePair("username", username));
     * params.add(new BasicNameValuePair("password", password));
     * params.add(new BasicNameValuePair("deviceUUID", deviceId));
     * */
    @PUT("/PropertyManagement/userModlie/userLogin")
    Observable doLogin(@Query("username") String username,
                       @Query("password") String password,
                       @Query("deviceUUID") String deviceUUID);
}
